﻿using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS_Quartz_Task
{
    public interface IQuartzJobProcess
    {
        Task CreatJobAsync();
        Task AddJobAsync(IJobDetail jobDetail, ITrigger trigger);
        Task DeleteJobAsync(string jobName, string group);
        Task PauseJobAsync(string jobName, string group);
        Task QuartzShutdownAsync();
        bool QueryQuartzState();
    }
}
